# -*- coding: utf-8 -*-
# @Time    : 2022/3/14 2:37 下午
# @Author  : zlt
# @FileName: test.py
# @Software: PyCharm

# import requests
#
# url = "http://aider.meizu.com/app/weather/listWeather"
#
# prams = {
#     'cityIds':101190401
# }
#
# print(type(prams))
# res = requests.request(method="get",url=url,params = prams)
# print(res.text)
from common import util_path,util_excel,util_log
import json

EXCEL_FILE = util_path.TEST_EXAMPLE_PATH #获取用例文件路径
EXCEL_DATA = util_excel.excel_to_list(data_file=EXCEL_FILE,sheet="用例样本1")#获取"用例样本1"工作表中的所有数据
CASE_DATA = util_excel.get_test_data(data_list=EXCEL_DATA,case_name="查询苏州天气")
data = CASE_DATA["data"]
data1 = json.loads(data)
print(data1)

